/**
 * Copyright (c) 2024,  科泰集团教研团队
 * 版权所有，请勿侵权
 */
package com.ktjiaoyu.news.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员可以收藏新闻方便后续查看实体类
 * @author 科泰集团教研团队
 * @createTime 2024-4-17 20:49:54
 * @lastModify 2024-4-17 20:49:54
 * @version 1.0.0
 */
public class NewsCollect implements Serializable {

  public NewsCollect() {
  }

  private Long id;  //主键，自增长
  private Long newsId;  //被收藏的新闻，关联新闻ID
  private Long memberId;  //收藏者，关联会员ID
  private Date collectTime;  //收藏时间


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public Long getNewsId() {
    return newsId;
  }

  public void setNewsId(Long newsId) {
    this.newsId = newsId;
  }


  public Long getMemberId() {
    return memberId;
  }

  public void setMemberId(Long memberId) {
    this.memberId = memberId;
  }


  public Date getCollectTime() {
    return collectTime;
  }

  public void setCollectTime(Date collectTime) {
    this.collectTime = collectTime;
  }

}
